package com.final_keywords;

public class Animal {
    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    private String Name;

    public Animal(){

    }
    public Animal(String Name){
        this.Name = Name;
    }

    public final void print(){
        System.out.println(this.Name+"是boss");
    }
}
